package com.example.ChanOfResponsibility2;

public class ErrorLogger extends AbstractLogger {
    public ErrorLogger(int level){
        this.level = level;
    }

    @Override
    public void write(Object str) {
        System.out.println("Error log:\t\t" + str);
    }
}
